package com.iterator.mapper.web.systemManager;

import com.iterator.bean.web.pojo.dhy.RoleTwoLevel;
import com.iterator.bean.web.pojo.dhy.RoleTwoLevelExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface RoleTwoLevelMapper {
    long countByExample(RoleTwoLevelExample example);

    int deleteByExample(RoleTwoLevelExample example);

    int deleteByPrimaryKey(String id);

    int insert(RoleTwoLevel record);

    int insertSelective(RoleTwoLevel record);

    List<RoleTwoLevel> selectByExample(RoleTwoLevelExample example);

    RoleTwoLevel selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") RoleTwoLevel record, @Param("example") RoleTwoLevelExample example);

    int updateByExample(@Param("record") RoleTwoLevel record, @Param("example") RoleTwoLevelExample example);

    int updateByPrimaryKeySelective(RoleTwoLevel record);

    int updateByPrimaryKey(RoleTwoLevel record);
}